package cn.fboost.mtos.dto.internal;

import cn.fboost.mtos.entity.Admin;
import cn.fboost.mtos.entity.User;
import lombok.Data;

import java.io.Serializable;

@Data
public class Session implements Serializable {
    private Integer id;
    private Integer role;
    private User user;
    private Admin admin;

    public static class Role {
        public static final int ADMIN = 0;
        public static final int USER = 1;
    }
}
